package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.dto.request.QueryFranchiseeToBeInfoDto;
import com.huaxiafinance.management.model.FrontSendMessage;
import com.huaxiafinance.management.model.FrontSendMessageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FrontSendMessageMapper {
    int countByExample(FrontSendMessageExample example);

    int deleteByExample(FrontSendMessageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FrontSendMessage record);

    int insertSelective(FrontSendMessage record);

    List<FrontSendMessage> selectByExample(FrontSendMessageExample example);

    FrontSendMessage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FrontSendMessage record, @Param("example") FrontSendMessageExample example);

    int updateByExample(@Param("record") FrontSendMessage record, @Param("example") FrontSendMessageExample example);

    int updateByPrimaryKeySelective(FrontSendMessage record);

    int updateByPrimaryKey(FrontSendMessage record);

    List<FrontSendMessage> selectByParam(QueryFranchiseeToBeInfoDto dto);

    Integer selectByParamCount(QueryFranchiseeToBeInfoDto dto);


}